package com.entrogy.service;

import com.entrogy.bean.Permission;

import java.util.List;

/**
 * @ClassName PermissionService
 * @Description 关于权限的service层
 * @Author luoxingjiang
 * @Date 2019/9/2 0002 下午 5:45
 * @Version 1.0
 **/
public interface PermissionService {

    List<String> listRolePermission(Integer roleId);


    boolean hasAuthorization(String userId, String permissionCode);
}
